import Layout from '@/layout'
export default {

  path: '/departments',
  component: Layout,
  children: [
    // 组织架构
    // 如果子级的路由 path设置为空'' 那么会自动的匹配
    { path: '',
      name: 'departments',
      component: () => import('@/views/departments/departments.vue'),
      meta: { title: '组织架构', icon: 'tree' }
    }
  ]

}
